package com.atguigu.service;

import com.atguigu.pojo.Book;
import com.atguigu.pojo.Cart;
import com.atguigu.pojo.Order;
import com.atguigu.pojo.Page;

import java.util.List;

/**
 * @Author 周轩霆
 * @Description 生成订单
 * @Date 19:36 2022/4/28
 * @Param
 * @return
*/
public interface OrderService {
    public String createOrder(Cart cart, Integer userId);
    public List<Order> showAllOrders();
    Page<Order> page(int pageNo, int pageSize);
    public int sendOrder(String orderId);
}
